package PO;

import java.io.Serializable;

public class PlanPO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ID;
	private Department department;
	private String name;
	private int in;
	private int out;
	private frame frame;


	public PlanPO(int id, Department dep, String n, frame f,
			int IN, int OUT) {
		ID = id;
		department = dep;
		name = n;
		frame = f;
		in = IN;
		out = OUT;

	}

	public Department getDep() {
		return (department);

	}

	public int getID() {

		return ID;
	}

	public frame getFrame()
	{
		
		return frame;
	}
	public String getName() {

		return (name);
	}



	public void update(int i, String n,frame f, int IN,
			int OUT) {
		ID = i;
		name = n;
		in = IN;
		out = OUT;
		frame = f;
		

	}

	public int getOUT() {
		// TODO Auto-generated method stub
		return out;
	}

	public int getIN() {
		return in;
	}

}
